﻿@{
    ViewBag.Title = "个人资料";
    Layout = "~/Views/Shared/_LayoutDualColumns.cshtml";
}
@model Ducu.SRV.ViewModel.Profile.EditModel
@section PageHeader{
    <span class="glyphicon glyphicon-user" aria-hidden="true"></span><span class="after-glyphicon">@ViewBag.Title</span>
}
@using (Html.BeginForm())
{
    <div class="form-group">
        <label>昵称：</label>
        @Html.TextBoxFor(m => m.DisplayName, new { @class = "form-control" })
        @Html.ValidationMessageFor(m => m.DisplayName)
    </div>
    <div class="form-group">
        <label>性别：</label>
        <label class="radio-inline">
            @Html.RadioButtonFor(m => m.Gender, true) 男孩
        </label>
        <label class="radio-inline">
            @Html.RadioButtonFor(m => m.Gender, false) 妹纸
        </label>
    </div>
    <div class="form-group">
        <label>自我介绍：</label>
        @Html.TextAreaFor(m => m.SelfIntroduction, new { @class = "form-control", rows = "3", placeholder = "如：重度拖延症患者，三大目标——英语、编程和写作，求同路人" })
        @Html.ValidationMessageFor(m => m.OtherContact)
    </div>
    <h4 class="group">联系方式</h4>
    <div class="form-group">
        <label>QQ：</label>
        @Html.TextBoxFor(m => m.QQ, new { @class = "form-control", placeholder = "2282636022" })
        @Html.ValidationMessageFor(m => m.QQ)
    </div>
    <div class="form-group">
        <label>微信：</label>
        @Html.TextBoxFor(m => m.WeChat, new { @class = "form-control", placeholder = "zyfei" })
        @Html.ValidationMessageFor(m => m.WeChat)
    </div>
    <div class="form-group">
        <label>微博：</label>
        @Html.TextBoxFor(m => m.WeiBo, new { @class = "form-control", placeholder = "freeflying" })
        @Html.ValidationMessageFor(m => m.WeiBo)
    </div>
    <div class="form-group">
        <label>电话：</label>
        @Html.TextBoxFor(m => m.Phone, new { @class = "form-control", placeholder = "18623059999" })
        @Html.ValidationMessageFor(m => m.Phone)
    </div>
    <div class="form-group">
        <label>其他联系方式：</label>
        @Html.TextAreaFor(m => m.OtherContact, new { @class = "form-control", rows = "3", placeholder = "如：千里传音，飞鸽传书，随便你了……" })
        @Html.ValidationMessageFor(m => m.OtherContact)
    </div>

    @*int[] years = new int[] { 2006, 2007 };
        int[] month = new int[] { 1, 2, 3, 4, 5 };
        int[] days = new int[] { 1, 2, 3 };
        <h4 class="group">年龄</h4>
        <div class="form-group">
            <label>出生年月：</label>
            <div class="input-group input-group-combined">
                @Html.DropDownListFor(m => m.BirthYear, new SelectList(years), "----", new { @class = "form-control" })
                <span class="input-group-addon">年</span>
                @Html.DropDownListFor(m => m.BirthMonth, new SelectList(month), "--", new { @class = "form-control" })
                <span class="input-group-addon">月</span>
            </div>
        </div>
        <div class="form-group">
            <label>生日：</label>
            <div class="input-group input-group-combined">
                @Html.DropDownListFor(m => m.BirthDay, new SelectList(days), "--", new { @class = "form-control" })
                <span class="input-group-addon">日</span>
            </div>
        </div>
        <h4 class="group">地标</h4>
        <div class="form-group">
            <label>所在地：</label>
            <div class="input-group input-group-combined">
                <select id="Province" name="Province" onchange="findCity()" class="form-control">
                    <option>------</option>
                </select>
                <span class="input-group-addon">省</span>
                <select id="City" name="City" class="form-control">
                    <option>--------</option>
                </select>
                <span class="input-group-addon">市</span>
            </div>
        </div>
        <div class="form-group">
            <label>其他：</label>
            @Html.TextAreaFor(m => m.DisplayName, new { @class = "form-control", rows = 3, placeholder = "如：燕京大学，未名湖畔，华山之巅3单元2号……" })
        </div>*@
    <div class="submit">
        <input type="submit" class="btn btn-primary" value="提交" />
        <a href="@ViewBag.Prepage" class="btn btn-default">跳过</a>
    </div>
}
@section RightPanel{
    <li>
        昵称默认为用户名。觉得用户名不好看不好听，就马上修改吧，可以重复可以顽皮。
    </li>
    <li>
        性别和自我介绍有助于增强你的吸引力，建议填写。
    </li>
    <li>
        联系方式主要是便于督促，建议填写。比如我哪一天偷懒了，没交作业，也不上系统，负责任的督工可能就会给你打电话了……
    </li>
    <li>
        本页所有资料都会被公开，所以如果认为涉及隐私，请不要填写。
    </li>
}
@section scripts{
    @*<script>
            var prolist = {
                "ps": [
                { "pid": "BJ", "pname": "北京", "cities": [{ "cid": "BJ_1", "cname": "北京" }] },
                { "pid": "SH", "pname": "上海", "cities": [{ "cid": "SH_1", "cname": "上海" }] },
                { "pid": "TJ", "pname": "天津", "cities": [{ "cid": "TJ_1", "cname": "天津" }] },
                { "pid": "CQ", "pname": "重庆", "cities": [{ "cid": "CQ_1", "cname": "重庆" }] },
                { "pid": "JS", "pname": "江苏", "cities": [{ "cid": "JS_1", "cname": "南京" }, { "cid": "JS_2", "cname": "无锡" }, { "cid": "JS_3", "cname": "徐州" }, { "cid": "JS_4", "cname": "常州" }, { "cid": "JS_5", "cname": "苏州" }, { "cid": "JS_6", "cname": "南通" }, { "cid": "JS_7", "cname": "连云港" }, { "cid": "JS_8", "cname": "淮安" }, { "cid": "JS_9", "cname": "盐城" }, { "cid": "JS_10", "cname": "扬州" }, { "cid": "JS_11", "cname": "镇江" }, { "cid": "JS_12", "cname": "泰州" }, { "cid": "JS_13", "cname": "宿迁" }] },
                { "pid": "ZJ", "pname": "浙江", "cities": [{ "cid": "ZJ_1", "cname": "杭州" }, { "cid": "ZJ_2", "cname": "宁波" }, { "cid": "ZJ_3", "cname": "温州" }, { "cid": "ZJ_4", "cname": "嘉兴" }, { "cid": "ZJ_5", "cname": "湖州" }, { "cid": "ZJ_6", "cname": "绍兴" }, { "cid": "ZJ_7", "cname": "金华" }, { "cid": "ZJ_8", "cname": "衢州" }, { "cid": "ZJ_9", "cname": "舟山" }, { "cid": "ZJ_10", "cname": "台州" }, { "cid": "ZJ_11", "cname": "丽水" }] },
                { "pid": "AH", "pname": "安徽", "cities": [{ "cid": "AH_1", "cname": "合肥" }, { "cid": "AH_2", "cname": "芜湖" }, { "cid": "AH_3", "cname": "蚌埠" }, { "cid": "AH_4", "cname": "淮南" }, { "cid": "AH_5", "cname": "马鞍山" }, { "cid": "AH_6", "cname": "淮北" }, { "cid": "AH_7", "cname": "铜陵" }, { "cid": "AH_8", "cname": "安庆" }, { "cid": "AH_9", "cname": "黄山" }, { "cid": "AH_10", "cname": "滁州" }, { "cid": "AH_11", "cname": "阜阳" }, { "cid": "AH_12", "cname": "宿州" }, { "cid": "AH_13", "cname": "巢湖" }, { "cid": "AH_14", "cname": "六安" }, { "cid": "AH_15", "cname": "亳州" }, { "cid": "AH_16", "cname": "池州" }, { "cid": "AH_17", "cname": "宣城" }] },
                { "pid": "HEB", "pname": "河北", "cities": [{ "cid": "HEB_1", "cname": "石家庄" }, { "cid": "HEB_2", "cname": "唐山" }, { "cid": "HEB_3", "cname": "秦皇岛" }, { "cid": "HEB_4", "cname": "邯郸" }, { "cid": "HEB_5", "cname": "邢台" }, { "cid": "HEB_6", "cname": "保定" }, { "cid": "HEB_7", "cname": "张家口" }, { "cid": "HEB_8", "cname": "承德" }, { "cid": "HEB_9", "cname": "沧州" }, { "cid": "HEB_10", "cname": "廊坊" }, { "cid": "HEB_11", "cname": "衡水" }] },
                { "pid": "SX", "pname": "山西", "cities": [{ "cid": "SX_1", "cname": "太原" }, { "cid": "SX_2", "cname": "大同" }, { "cid": "SX_3", "cname": "阳泉" }, { "cid": "SX_4", "cname": "长治" }, { "cid": "SX_5", "cname": "晋城" }, { "cid": "SX_6", "cname": "朔州" }, { "cid": "SX_7", "cname": "晋中" }, { "cid": "SX_8", "cname": "运城" }, { "cid": "SX_9", "cname": "忻州" }, { "cid": "SX_10", "cname": "临汾" }, { "cid": "SX_11", "cname": "吕梁" }] },
                { "pid": "NMG", "pname": "内蒙古", "cities": [{ "cid": "NMG_1", "cname": "呼和浩特" }, { "cid": "NMG_2", "cname": "包头" }, { "cid": "NMG_3", "cname": "乌海" }, { "cid": "NMG_4", "cname": "赤峰" }, { "cid": "NMG_5", "cname": "通辽" }, { "cid": "NMG_6", "cname": "鄂尔多斯" }, { "cid": "NMG_7", "cname": "呼伦贝尔" }, { "cid": "NMG_8", "cname": "巴彦淖尔" }, { "cid": "NMG_9", "cname": "乌兰察布" }] },
                { "pid": "LN", "pname": "辽宁", "cities": [{ "cid": "LN_1", "cname": "沈阳" }, { "cid": "LN_2", "cname": "大连" }, { "cid": "LN_3", "cname": "鞍山" }, { "cid": "LN_4", "cname": "抚顺" }, { "cid": "LN_5", "cname": "本溪" }, { "cid": "LN_6", "cname": "丹东" }, { "cid": "LN_7", "cname": "锦州" }, { "cid": "LN_8", "cname": "营口" }, { "cid": "LN_9", "cname": "营口" }, { "cid": "LN_10", "cname": "辽阳" }, { "cid": "LN_11", "cname": "盘锦" }, { "cid": "LN_12", "cname": "铁岭" }, { "cid": "LN_13", "cname": "朝阳" }, { "cid": "LN_14", "cname": "葫芦岛" }] },
                { "pid": "JL", "pname": "吉林", "cities": [{ "cid": "JL_1", "cname": "长春" }, { "cid": "JL_2", "cname": "吉林" }, { "cid": "JL_3", "cname": "四平" }, { "cid": "JL_4", "cname": "辽源" }, { "cid": "JL_5", "cname": "通化" }, { "cid": "JL_6", "cname": "白山" }, { "cid": "JL_7", "cname": "松原" }, { "cid": "JL_8", "cname": "白城" }, { "cid": "JL_9", "cname": "延边" }] },
                { "pid": "HLJ", "pname": "黑龙江", "cities": [{ "cid": "HLJ_1", "cname": "哈尔滨" }, { "cid": "HLJ_2", "cname": "齐齐哈尔" }, { "cid": "HLJ_3", "cname": "鸡西" }, { "cid": "HLJ_4", "cname": "鹤岗" }, { "cid": "HLJ_5", "cname": "双鸭山" }, { "cid": "HLJ_6", "cname": "大庆" }, { "cid": "HLJ_7", "cname": "伊春" }, { "cid": "HLJ_8", "cname": "佳木斯" }, { "cid": "HLJ_9", "cname": "七台河" }, { "cid": "HLJ_10", "cname": "牡丹江" }, { "cid": "HLJ_11", "cname": "黑河" }, { "cid": "HLJ_12", "cname": "绥化" }] },
                { "pid": "FJ", "pname": "福建", "cities": [{ "cid": "FJ_1", "cname": "福州" }, { "cid": "FJ_2", "cname": "厦门" }, { "cid": "FJ_3", "cname": "莆田" }, { "cid": "FJ_4", "cname": "三明" }, { "cid": "FJ_5", "cname": "泉州" }, { "cid": "FJ_6", "cname": "漳州" }, { "cid": "FJ_7", "cname": "南平" }, { "cid": "FJ_8", "cname": "龙岩" }, { "cid": "FJ_9", "cname": "宁德" }] },
                { "pid": "JX", "pname": "江西", "cities": [{ "cid": "JX_1", "cname": "南昌" }, { "cid": "JX_2", "cname": "景德镇" }, { "cid": "JX_3", "cname": "萍乡" }, { "cid": "JX_4", "cname": "九江" }, { "cid": "JX_5", "cname": "新余" }, { "cid": "JX_6", "cname": "鹰潭" }, { "cid": "JX_7", "cname": "赣州" }, { "cid": "JX_8", "cname": "吉安" }, { "cid": "JX_9", "cname": "宜春" }, { "cid": "JX_10", "cname": "抚州" }, { "cid": "JX_11", "cname": "上饶" }] },
                { "pid": "SD", "pname": "山东", "cities": [{ "cid": "SD_1", "cname": "济南" }, { "cid": "SD_2", "cname": "青岛" }, { "cid": "SD_3", "cname": "淄博" }, { "cid": "SD_4", "cname": "枣庄" }, { "cid": "SD_5", "cname": "东营" }, { "cid": "SD_6", "cname": "烟台" }, { "cid": "SD_7", "cname": "潍坊" }, { "cid": "SD_8", "cname": "济宁" }, { "cid": "SD_9", "cname": "泰安" }, { "cid": "SD_10", "cname": "威海" }, { "cid": "SD_11", "cname": "日照" }, { "cid": "SD_12", "cname": "莱芜" }, { "cid": "SD_13", "cname": "临沂" }, { "cid": "SD_14", "cname": "德州" }, { "cid": "SD_15", "cname": "聊城" }, { "cid": "SD_16", "cname": "滨州" }, { "cid": "SD_17", "cname": "菏泽" }] },
                { "pid": "HEN", "pname": "河南", "cities": [{ "cid": "HEN_1", "cname": "郑州" }, { "cid": "HEN_2", "cname": "开封" }, { "cid": "HEN_3", "cname": "洛阳" }, { "cid": "HEN_4", "cname": "平顶山" }, { "cid": "HEN_5", "cname": "安阳" }, { "cid": "HEN_6", "cname": "鹤壁" }, { "cid": "HEN_7", "cname": "新乡" }, { "cid": "HEN_8", "cname": "焦作" }, { "cid": "HEN_9", "cname": "濮阳" }, { "cid": "HEN_10", "cname": "许昌" }, { "cid": "HEN_11", "cname": "漯河" }, { "cid": "HEN_12", "cname": "三门峡" }, { "cid": "HEN_13", "cname": "南阳" }, { "cid": "HEN_14", "cname": "商丘" }, { "cid": "HEN_15", "cname": "信阳" }, { "cid": "HEN_16", "cname": "周口" }, { "cid": "HEN_17", "cname": "驻马店" }] },
                { "pid": "HUB", "pname": "湖北", "cities": [{ "cid": "HUB_1", "cname": "武汉" }, { "cid": "HUB_2", "cname": "黄石" }, { "cid": "HUB_3", "cname": "十堰" }, { "cid": "HUB_4", "cname": "宜昌" }, { "cid": "HUB_5", "cname": "襄樊" }, { "cid": "HUB_6", "cname": "鄂州" }, { "cid": "HUB_7", "cname": "荆门" }, { "cid": "HUB_8", "cname": "孝感" }, { "cid": "HUB_9", "cname": "荆州" }, { "cid": "HUB_10", "cname": "黄冈" }, { "cid": "HUB_11", "cname": "咸宁" }, { "cid": "HUB_12", "cname": "随州" }, { "cid": "HUB_13", "cname": "恩施" }] },
                { "pid": "HUN", "pname": "湖南", "cities": [{ "cid": "HUN_1", "cname": "长沙" }, { "cid": "HUN_2", "cname": "株洲" }, { "cid": "HUN_3", "cname": "湘潭" }, { "cid": "HUN_4", "cname": "衡阳" }, { "cid": "HUN_5", "cname": "邵阳" }, { "cid": "HUN_6", "cname": "岳阳" }, { "cid": "HUN_7", "cname": "常德" }, { "cid": "HUN_8", "cname": "张家界" }, { "cid": "HUN_9", "cname": "益阳" }, { "cid": "HUN_10", "cname": "郴州" }, { "cid": "HUN_11", "cname": "永州" }, { "cid": "HUN_12", "cname": "怀化" }, { "cid": "HUN_13", "cname": "娄底" }, { "cid": "HUN_14", "cname": "湘西" }] },
                { "pid": "GD", "pname": "广东", "cities": [{ "cid": "GD_1", "cname": "广州" }, { "cid": "GD_2", "cname": "韶关" }, { "cid": "GD_3", "cname": "深圳" }, { "cid": "GD_4", "cname": "珠海" }, { "cid": "GD_5", "cname": "汕头" }, { "cid": "GD_6", "cname": "佛山" }, { "cid": "GD_7", "cname": "江门" }, { "cid": "GD_8", "cname": "湛江" }, { "cid": "GD_9", "cname": "茂名" }, { "cid": "GD_10", "cname": "肇庆" }, { "cid": "GD_11", "cname": "惠州" }, { "cid": "GD_12", "cname": "梅州" }, { "cid": "GD_13", "cname": "汕尾" }, { "cid": "GD_14", "cname": "河源" }, { "cid": "GD_15", "cname": "阳江" }, { "cid": "GD_16", "cname": "清远" }, { "cid": "GD_17", "cname": "潮州" }, { "cid": "GD_18", "cname": "揭阳" }, { "cid": "GD_19", "cname": "云浮" }] },
                { "pid": "GX", "pname": "广西", "cities": [{ "cid": "GX_1", "cname": "南宁" }, { "cid": "GX_2", "cname": "柳州" }, { "cid": "GX_3", "cname": "桂林" }, { "cid": "GX_4", "cname": "梧州" }, { "cid": "GX_5", "cname": "北海" }, { "cid": "GX_6", "cname": "防城港" }, { "cid": "GX_7", "cname": "钦州" }, { "cid": "GX_8", "cname": "贵港" }, { "cid": "GX_9", "cname": "玉林" }, { "cid": "GX_10", "cname": "百色" }, { "cid": "GX_11", "cname": "贺州" }, { "cid": "GX_12", "cname": "河池" }, { "cid": "GX_13", "cname": "来宾" }, { "cid": "GX_14", "cname": "崇左" }] },
                { "pid": "HAN", "pname": "海南", "cities": [{ "cid": "HAN_1", "cname": "海口" }, { "cid": "HAN_2", "cname": "三亚" }] },
                { "pid": "SC", "pname": "四川", "cities": [{ "cid": "SC_1", "cname": "成都" }, { "cid": "SC_2", "cname": "自贡" }, { "cid": "SC_3", "cname": "攀枝花" }, { "cid": "SC_4", "cname": "泸州" }, { "cid": "SC_5", "cname": "德阳" }, { "cid": "SC_6", "cname": "绵阳" }, { "cid": "SC_7", "cname": "广元" }, { "cid": "SC_8", "cname": "遂宁" }, { "cid": "SC_9", "cname": "内江" }, { "cid": "SC_10", "cname": "乐山" }, { "cid": "SC_11", "cname": "南充" }, { "cid": "SC_12", "cname": "眉山" }, { "cid": "SC_13", "cname": "宜宾" }, { "cid": "SC_14", "cname": "广安" }, { "cid": "SC_15", "cname": "达州" }, { "cid": "SC_16", "cname": "雅安" }, { "cid": "SC_17", "cname": "巴中" }, { "cid": "SC_18", "cname": "资阳" }, { "cid": "SC_19", "cname": "阿坝" }, { "cid": "SC_20", "cname": "甘孜" }, { "cid": "SC_21", "cname": "凉山" }] },
                { "pid": "GZ", "pname": "贵州", "cities": [{ "cid": "GZ_1", "cname": "贵阳" }, { "cid": "GZ_2", "cname": "六盘水" }, { "cid": "GZ_3", "cname": "遵义" }, { "cid": "GZ_4", "cname": "安顺" }, { "cid": "GZ_5", "cname": "铜仁" }, { "cid": "GZ_6", "cname": "黔西南" }, { "cid": "GZ_7", "cname": "毕节" }, { "cid": "GZ_8", "cname": "黔东南" }, { "cid": "GZ_9", "cname": "黔南" }] },
                { "pid": "YN", "pname": "云南", "cities": [{ "cid": "YN_1", "cname": "昆明" }, { "cid": "YN_2", "cname": "曲靖" }, { "cid": "YN_3", "cname": "玉溪" }, { "cid": "YN_4", "cname": "保山" }, { "cid": "YN_5", "cname": "昭通" }, { "cid": "YN_6", "cname": "丽江" }, { "cid": "YN_7", "cname": "普洱" }, { "cid": "YN_8", "cname": "临沧" }, { "cid": "YN_9", "cname": "楚雄" }, { "cid": "YN_10", "cname": "红河" }, { "cid": "YN_11", "cname": "文山" }, { "cid": "YN_12", "cname": "西双版纳" }, { "cid": "YN_13", "cname": "大理" }, { "cid": "YN_14", "cname": "德宏" }, { "cid": "YN_15", "cname": "怒江" }, { "cid": "YN_16", "cname": "迪庆" }] },
                { "pid": "XZ", "pname": "西藏", "cities": [{ "cid": "XZ_1", "cname": "拉萨" }, { "cid": "XZ_2", "cname": "昌都" }, { "cid": "XZ_3", "cname": "山南" }, { "cid": "XZ_4", "cname": "日喀则" }, { "cid": "XZ_5", "cname": "那曲" }, { "cid": "XZ_6", "cname": "阿里" }, { "cid": "XZ_7", "cname": "林芝" }] },
                { "pid": "SHX", "pname": "陕西", "cities": [{ "cid": "SHX_1", "cname": "西安" }, { "cid": "SHX_2", "cname": "铜川" }, { "cid": "SHX_3", "cname": "宝鸡" }, { "cid": "SHX_4", "cname": "咸阳" }, { "cid": "SHX_5", "cname": "渭南" }, { "cid": "SHX_6", "cname": "延安" }, { "cid": "SHX_7", "cname": "汉中" }, { "cid": "SHX_8", "cname": "榆林" }, { "cid": "SHX_9", "cname": "安康" }, { "cid": "SHX_10", "cname": "商洛" }] },
                { "pid": "GS", "pname": "甘肃", "cities": [{ "cid": "GS_1", "cname": "兰州" }, { "cid": "GS_2", "cname": "金昌" }, { "cid": "GS_3", "cname": "白银" }, { "cid": "GS_4", "cname": "天水" }, { "cid": "GS_5", "cname": "武威" }, { "cid": "GS_6", "cname": "张掖" }, { "cid": "GS_7", "cname": "平凉" }, { "cid": "GS_8", "cname": "酒泉" }, { "cid": "GS_9", "cname": "庆阳" }, { "cid": "GS_10", "cname": "定西" }, { "cid": "GS_11", "cname": "陇南" }, { "cid": "GS_12", "cname": "临夏" }, { "cid": "GS_13", "cname": "甘南" }, { "cid": "GS_14", "cname": "嘉峪关" }] },
                { "pid": "QH", "pname": "青海", "cities": [{ "cid": "QH_1", "cname": "西宁" }, { "cid": "QH_2", "cname": "海东" }, { "cid": "QH_3", "cname": "海北" }, { "cid": "QH_4", "cname": "黄南" }, { "cid": "QH_5", "cname": "海南" }, { "cid": "QH_6", "cname": "果洛" }, { "cid": "QH_7", "cname": "玉树" }, { "cid": "QH_8", "cname": "海西" }] },
                { "pid": "NX", "pname": "宁夏", "cities": [{ "cid": "NX_1", "cname": "银川" }, { "cid": "NX_2", "cname": "石嘴山" }, { "cid": "NX_3", "cname": "吴忠" }, { "cid": "NX_4", "cname": "固原" }, { "cid": "NX_5", "cname": "中卫" }] },
                { "pid": "XJ", "pname": "新疆", "cities": [{ "cid": "XJ_1", "cname": "乌鲁木齐" }, { "cid": "XJ_2", "cname": "克拉玛依" }, { "cid": "XJ_3", "cname": "吐鲁番" }, { "cid": "XJ_4", "cname": "哈密" }, { "cid": "XJ_5", "cname": "昌吉" }, { "cid": "XJ_6", "cname": "博尔塔拉" }, { "cid": "XJ_7", "cname": "巴音郭楞" }, { "cid": "XJ_8", "cname": "阿克苏" }, { "cid": "XJ_9", "cname": "克孜勒" }, { "cid": "XJ_10", "cname": "喀什" }, { "cid": "XJ_11", "cname": "和田" }, { "cid": "XJ_12", "cname": "伊犁哈萨克" }, { "cid": "XJ_13", "cname": "塔城" }, { "cid": "XJ_14", "cname": "阿勒泰" }, { "cid": "XJ_15", "cname": "石河子" }, { "cid": "XJ_16", "cname": "阿拉尔" }, { "cid": "XJ_17", "cname": "图木舒克" }, { "cid": "XJ_18", "cname": "五家渠" }] }
                ]
            }
            $(document).ready(function () {
                for (var i = 0; i < prolist.ps.length; i++) {
                    $("#Province").append("<option value='" + prolist.ps[i].pid + "'>" + prolist.ps[i].pname + "</option>");
                }
            });
            function findCity() {
                var pid = $("#Province").val();
                $("#City").empty().append("<option>--------</option>");
                for (var i = 0; i < prolist.ps.length; i++) {
                    if (prolist.ps[i].pid == pid) {
                        for (var j = 0; j < prolist.ps[i].cities.length; j++) {
                            $("#City").append("<option value='" + prolist.ps[i].cities[j].cname + "'>" + prolist.ps[i].cities[j].cname + "</option>");
                        }
                    }
                }
            }
        </script>*@
}